import request from "@/utils/request.js";

// 获取回访记录列表
export const orderMessageList = (data) => {
	return request.get('/system/order-message/page', data)
}
// 新建回访
export const createOrderMessage = (data) => {
	return request.post('/system/order-message/create', data)
}

// 获取订单详情
export const getOderDetail = (data) => {
	return request.get('/system/order/get', data)
}

// 获取设计信息列表
export const getDesignInfoList = (data) => {
	return request.get('/system/order-designer/get-design-info', data)
}
// 创建设计信息
export const createDesignInfo = (data) => {
	return request.post('/system/order-designer/save-design-info', data)
}
//  根据订单id获取合同
export const getContractByOrderId = (data) => {
	return request.get('/system/order-contract-zheng/page', data)
}
// 获取合同详情
export const getContractZheng = (data) => {
	return request.get('/system/order-contract-zheng/get', data)
}
//  施工节点主配置
export const getEngineeringModel = (data) => {
	return request.get('/system/engineering-stage-model/page', data)
}